#ifndef PRIORITYDELEGATE_H
#define PRIORITYDELEGATE_H

#include <QItemDelegate>

class PriorityDelegate : public QItemDelegate
{
    Q_OBJECT
public:
    PriorityDelegate(int index, QObject *parent = 0);
    void paint(QPainter *painter, const QStyleOptionViewItem &option,
                          const QModelIndex &index ) const;

private:
    int index;
};

#endif // PRIORITYDELEGATE_H
